package com.example.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class MyController {
    @GetMapping("/access/user")
    public String accessZS() {
        return "zs and admin.....";
    }
    
    @GetMapping("/access/read")
    public String accessRD() {
        return "lisi.....";
    }
    
    
    @GetMapping("/access/admin")
    public String accessAM() {
        return "admin.....";
    }
}
